package com.ym521.simple

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.ym521.skeleton.Skeleton

class ViewSkeletonActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_view_skeleton)

        Skeleton.bind(findViewById<View>(R.id.ivView))
            .load(R.layout.skeleton_view)
            .duration(1500)
            .angle(30)
            .color(R.color.white)
            .show()

    }
}